package ooday02;

public class Test {
    public static void main(String[] args) {
        Chick hh = new Chick("花花",2,"白色");
        hh.drink();
        hh.eat();
        hh.layEgg();



        Dog xx = new Dog("小小",6,"黄色");
        xx.drink();
        xx.eat();
        xx.lookHome();

        Fish yy = new Fish("鱼鱼",1,"红色");
        yy.drink();
        yy.eat();
    }
}
